package com.bioroadlab.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "id_generator", catalog = "bioroadlab")
public class IdGenerator implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = 1L;

	private String name;
	private Integer id;

	// Property accessors
	@Id
	@Column(name = "name", unique = true, nullable = false, length = 40)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "id")
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

}